package cn.edu.fzu.homemaking.sso.mapper;

import cn.edu.fzu.homemaking.sso.domain.entity.Company;
import org.apache.ibatis.annotations.Param;

public interface CompanyMapper {

    /** 根据统一信用代码查询公司 **/
    Company getByCreditCode(@Param("creditCode") String creditCode);

    Company getById(@Param("id") Long id);

    void insert(@Param("company") Company company);
}
